<!doctype html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <title>Example Gwt-Gis project</title>

    <script type="text/javascript" language="javascript" src="gwtgisclientexample/gwtgisclientexample.nocache.js"></script>
        <script type="text/javascript" language="javascript">
        var mapConfig = {

            //anchor: "GadgetPanel",
            zoom : 7,
            center : [-121.01, 38.22],
            overlays:[
         {  
                 label: "Tribal Lands",
                 url: "http://myplan.casil.ucdavis.edu/ArcGIS/rest/services/Planning_Cadastre/Tribal_Lands/MapServer",
                 visible: false,
                 transparency: 75
         }
        ],
        datalayers: [

         { label: "Fault Zones", url: "http://myplan.casil.ucdavis.edu/arcgis/rest/services/GeoScience/Fault_Lines/MapServer",
                          legendUrl: "http://myplan.casil.ucdavis.edu/ArcGIS/rest/services/GeoScience/Fault_Lines/MapServer/legend?f=json",
                  visible: true,
                  transparency : 100
         },
         { label: "Shaking Zones", url: "http://myplan.casil.ucdavis.edu/arcgis/rest/services/GeoScience/Shaking_1sec/MapServer",
                       legendUrl: "http://myplan.casil.ucdavis.edu/ArcGIS/rest/services/GeoScience/Shaking_1sec/MapServer/legend?f=json",
                 visible: false,
                transparency : 90,
		  		legendIsGradient: true
         },
         { label: "Land Use", url: "http://myplan.casil.ucdavis.edu/ArcGIS/rest/services/Environment/CAML/MapServer",
                         legendUrl: "http://myplan.casil.ucdavis.edu/ArcGIS/rest/services/Environment/CAML/MapServer/legend?f=json",
                 visible: false,
                 transparency: 90
         }
        ],
        cloudStoreUrl: "http://atlas.casil.ucdavis.edu/gwt/remoteSave.html",
        cloudGetUrl: "http://atlas.casil.ucdavis.edu/cgi-bin/cloudstore/rest.py",
        exportImageUrl: "http://export.myplan.casil.ucdavis.edu/cgi-bin/generateImage64.py",
        geometryServer: "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",
        
        provider: {
         icon: "",
         popup: "Author: Justin Merz (jrmerz@gmail.com)",
         url: "http://code.google.com/p/gwt-gis/"
        },
        geocoder: "google",
        gMapsKey: "ABQIAAAAKMh-MLKs8k9ehw0smA47PhQq6whgORhHc4TDA6d6-ZuEcezD1BQpooUBuYt_bIrjBp4xgvOi3E53sw",
        title: "GWT-GIS",
        queryTool: true
    }
     </script>
    
  </head>

  <!--                                           -->
  <!-- The body can have arbitrary html, or      -->
  <!-- you can leave the body empty if you want  -->
  <!-- to create a completely dynamic UI.        -->
  <!--                                           -->
  <body class="tundra">

    <!-- OPTIONAL: include this if you want history support -->
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
    
    <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
      </div>
    </noscript>

	
	<script type="text/javascript">

  		var _gaq = _gaq || [];
  		_gaq.push(['_setAccount', 'UA-19445307-2']);
  		_gaq.push(['_trackPageview']);

  		(function() {
    		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  		})();

	</script>
  </body>
</html>
